
from util.console import *
from util.common import *



def f1(a,b):
    c = a+b
    p(a,b,c)
    return c

def f2(a,b):
    c = a*b
    p(a,b,c)
    return c

retry(1,f1,1,2)
retry(5,f2,3,5)



for i in range(10):
    p(i)



def ex1():
    raise IOError("123")

retry(5,ex1)







